package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.IdeaCommentDao;
import com.kaishengit.entity.IdeaComment;

public class IdeaCommentService {
	private IdeaCommentDao dao = new IdeaCommentDao();

	public List<IdeaComment> findByIdeaId(String id) {
	
		return dao.findByIdeaId(id);
	}

	public void delIdeaById(String id) {
		dao.delIdeaById(id);
		
	}
	
}
